/**
 * 
 */
var pub = {};

pub.openEdit = function(title, content, area, yesCall){
	layer.open({
		type: 2,
		title: title || "编辑",
		skin: 'layui-layer-demo', //样式类名
		area: area, //宽高 ['420px', '240px']
		content: content,
		end: function(){
			console.log("function end……");
		}
	});
}
